package com.ruoyi.back.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 首页轮播图对象 index_ban
 * 
 * @author luguanqing
 * @date 2021-04-02
 */
@ApiModel("首页轮播图实体")
public class IndexBan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @ApiModelProperty(value = "主键id")
    private String id;

    /** 图片路径 */
    @ApiModelProperty(value = "图片路径")
    @Excel(name = "图片路径")
    private String img;

    /** 图片顺序 */
    @ApiModelProperty(value = "图片顺序")
    @Excel(name = "图片顺序")
    private String imgsort;

    /** 图片上标题 */
    @ApiModelProperty(value = "图片上标题")
    @Excel(name = "图片上标题")
    private String title;

    /** 图片上内容 */
    @ApiModelProperty(value = "图片上内容")
    @Excel(name = "图片上内容")
    private String content;

    /** 图片模块 */
    @ApiModelProperty(value = "图片模块")
    @Excel(name = "图片模块")
    private String modular;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setImgsort(String imgsort) 
    {
        this.imgsort = imgsort;
    }

    public String getImgsort() 
    {
        return imgsort;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setModular(String modular) 
    {
        this.modular = modular;
    }

    public String getModular() 
    {
        return modular;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("img", getImg())
            .append("imgsort", getImgsort())
            .append("title", getTitle())
            .append("content", getContent())
            .append("modular", getModular())
            .toString();
    }
}
